def read_object_list(path):
    lines = file(path).read().split('\n')
    objects = []
    for line in lines:
        if line != '':
            objects.append(set([int(i) for i in line.split()]))
    return objects